let initdata = {
    arr:[]
}
let pcreducer = (state=initdata,{type,payload})=>{
    if (type == "getList") {
        return {
            ...state,
            arr:payload
        }
    }
    return {
        ...state
    }
}
export default pcreducer